<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="">
	<meta name="author" content="">
	<link rel="icon" href="../favicon.ico">

	<title>DWZ for bootstrap</title>

	<!-- Bootstrap core CSS -->
	<link href="./styles/bootstrap-3.3.5-dist/css/bootstrap.min.css" rel="stylesheet">

	<!-- Custom styles for this template -->
	<link href="./styles/css/signin.css" rel="stylesheet">

	<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
	<script src="./styles/bootstrap-3.3.5-dist/js/ie10-viewport-bug-workaround.js"></script>

	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
	<!--
	https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js
	https://oss.maxcdn.com/respond/1.4.2/respond.min.js
	-->
	<script src="./styles/js/html5shiv.min.js"></script>
	<script src="./styles/js/respond.min.js"></script>
	<![endif]-->
</head>

<body>

<div class="container" id="container">

	<form id="loginForm" class="form-signin required-validate" role="form" action="./doc/data/ajaxDone_200.html">
		<h2 class="form-signin-heading">Please sign in</h2>
		<div>
			<input type="email" name="email" class="form-control" placeholder="Email address" required autofocus>
		</div>
		<div>
			<input type="password" name="password" class="form-control" placeholder="Password" required>
		</div>
		<div class="checkbox">
			<label>
				<input type="checkbox" value="remember-me"> Remember me
			</label>
		</div>
		<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
	</form>

</div> <!-- /container -->


<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="./styles/js/jquery-1.12.0.min.js"></script>
<script src="./styles/bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>

<script src="./styles/jquery-validation-1.14.0/dist/jquery.validate.min.js"></script>
<script src="./styles/jquery-validation-1.14.0/dist/additional-methods.min.js"></script>
<script src="./styles/jquery-validation-1.14.0/dist/localization/messages_zh.min.js"></script>

<script src="./styles/js/dwz.core.js"></script>
<script src="./styles/js/dwz.history.js"></script>
<script src="./styles/js/dwz.pagination.js"></script>
<script src="./styles/js/dwz.ui.js"></script>
<script src="./styles/js/dwz.regional.zh.js"></script>
<script>
	$('#loginForm').bind(DWZ.eventType.ajaxDone, function(event, json){
		if (json[DWZ.keys.statusCode] == DWZ.statusCode.ok){
			window.location = 'index.html';
		}
	});
</script>
</body>
</html>
